package org.ume.school.modules.comment;

import org.ume.school.modules.model.entity.Comment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Django on 2017/7/22.
 */
public interface CommentRepository extends JpaRepository<Comment, String> {

    public List<Comment> findByGoodsIdOrderByCreateTimeDesc(String goodsId);

}
